import request from './request'

// 获取基础统计数据
export const getBasicStatistics = () => {
  return request.get('/statistics/basic')
}

// 获取搜索趋势图数据
export const getSearchTrendData = () => {
  return request.get('/statistics/search-trend')
}

// 获取文档类型分布图数据
export const getDocumentTypeChart = () => {
  return request.get('/statistics/document-type-chart')
}
